package com.woniuxy.springcloud.provider.student.service;

import com.woniuxy.springcloud.common.entity.PageDto;
import com.woniuxy.springcloud.common.entity.Student;

import java.util.List;

/**
 * description: StudentService <br>
 * date: 2022/1/19 6:34 下午 <br>
 * author: shesaifei <br>
 * version: 1.0 <br>
 */
public interface StudentService {
    void addStudent(Student student);

    Student getStudentBySid(int sid);

    List<Student> getAllStudents();

    Integer updateStudentBySid(Student student);

    Integer deleteOne(int sid);

    List<Student> findAllAndPageination(PageDto pageDto);
}
